package cc.linker.steplink.crm.merchant.service.mall;

import com.github.pagehelper.PageInfo;

import java.util.*;

public interface MallsService {

    Map<String, Object> getMallInfo(Map<String, Object> param);

    void openMall(Map<String, Object> param);

    void saveMallInfo(Map<String, Object> param);

    List<Map<String, Object>> goodsList(Map<String, Object> param);

    void delete(Long[] goodsIds);

    void changeStatus(Long[] goodsIds, Integer goodsStatus);

    void checkRewetting(Long[] goodsIds, String orgId);

    void addMallsGoods(Map<String, Object> param);

    List<Map<String, Object>> getGoodsListStatus(Long[] goodsIds);

    PageInfo mallsGoodsList(Map<String, Object> param);

    Integer getMallIdByGoodsId(Long goodsId);

    Map<String, Object> mallInfoById(Integer id);

    void addGoodsShop(Map<String, Object> param);

    Map<String, Object> getMallsGoodsStatus(Map<String, Object> param);

    PageInfo centerMallsList(Map<String, Object> param);

    List<String> getLinkerOrgList();

    void mallsGoodsChangeHot(String goodsId);

    void handleTopSort(String goodsId, Integer sort);

    void handleNormalSort(String goodsId, Integer sort);

    void checkGoodsRewetting(Map<String, Object> params);
}
